home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / biblio / tib / inputs / ieee.ttx < prev    next >
Text File  |  1989-03-28  |  11KB  |  145 lines

  1. %IEEE numeric flag format
  2. %[flag], author, ``title,'' etc., vol. volume, no. number, pp. pages, date
  3. %gov't no., other  (journal article)
  4. %[flag], author, title. series, city: publisher, etc  (book)
  5.  
  6. \Refstd\Citebrackets%set general formats for reference list and citations
  7. \def\Flagstyle#1{\hangindent\parindent\indent\hbox to0pt{\hss[{\Flagfont#1}]\kern.5em}}%flag style
  8.  
  9. \def\journalarticleformat{\Reffont\let\uchyph=1\parindent=1pc\def\Comma{}%
  10.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  11.                 \par\vfil\penalty-200\vfilneg%\filbreak
  12.       \if\Ftest\present\Flagstyle\Fstr\fi%
  13.        \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip, }\fi%
  14.         \if\Ttest\present\Comma``\bgroup\Titlefont\Tstr\egroup\def\Comma{," }\fi%
  15.          \if\etest\present(\bgroup\estr\egroup)\def\Comma{\unskip, }\fi%
  16.           \if\Jtest\present\Comma\bgroup\Tomefont\Jstr\/\egroup\def\Comma{, }\fi%
  17.            \if\Vtest\present\Comma\bgroup\Volfont\Vstr\egroup\def\Comma{, }\fi%
  18.             \if\Ntest\present\Comma no. \bgroup\Nstr\egroup\def\Comma{, }\fi%
  19.              \if\Ptest\present\Comma\bgroup{\if\Pcnt\present pp.~\else p.~\fi}\Pstr\egroup\def\Comma{, }\fi%
  20.               \if\Dtest\present\Comma\bgroup\Dstr\egroup\def\Comma{, }\fi%
  21.                \if\ttest\present. ``\bgroup\Titlefont\tstr\egroup\def\Comma{," }\fi%
  22.                 \if\jtest\present\if\ttest\present\Comma\else. \fi\bgroup\Tomefont\jstr\/\egroup\def\Comma{, }\fi%
  23.                  \if\vtest\present\Comma\bgroup\Volfont\vstr\egroup\def\Comma{, }\fi%
  24.                   \if\ntest\present\Comma no. \bgroup\nstr\egroup\def\Comma{, }\fi%
  25.                    \if\ptest\present\Comma\bgroup{\if\pcnt\present pp.~\else p.~\fi}\pstr\egroup\def\Comma{, }\fi%
  26.                     \if\dtest\present\Comma\bgroup\dstr\egroup\def\Comma{, }\fi%
  27.                      \if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
  28.                       \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  29.                        \vskip3ptplus1ptminus1pt}%\smallskip
  30.  
  31. \def\conferencereportformat{\Reffont\let\uchyph=1\parindent=1pc\def\Comma{}%
  32.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  33.                 \par\vfil\penalty-200\vfilneg%\filbreak
  34.       \if\Ftest\present\Flagstyle\Fstr\fi%
  35.        \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip, }\fi%
  36.         \if\Ttest\present\Comma``\bgroup\Titlefont\Tstr\egroup\def\Comma{," }\fi%
  37.          \if\Jtest\present\Comma presented at \bgroup\Jstr\egroup\def\Comma{, }\fi%
  38.           \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
  39.            \if\Dtest\present\Comma\bgroup\Dstr\egroup\def\Comma{, }\fi%
  40.             \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  41.              \vskip3ptplus1ptminus1pt}%\smallskip
  42.  
  43. \def\bookarticleformat{\Reffont\let\uchyph=1\parindent=1pc\def\Comma{}%
  44.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  45.                 \par\vfil\penalty-200\vfilneg%\filbreak
  46.       \if\Ftest\present\Flagstyle\Fstr\fi%
  47.        \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip, }\fi%
  48.         \if\Ttest\present\Comma``\bgroup\Titlefont\Tstr\egroup\def\Comma{," }\fi%
  49.          \if\etest\present(\bgroup\estr\egroup)\def\Comma{\unskip, }\fi%
  50.           \if\Btest\present\Comma in \bgroup\Tomefont\Bstr\egroup\def\Comma{.\hskip1em}\fi%
  51.            \if\otest\present\ \bgroup\ostr\egroup\fi%
  52.             \if\Stest\present\ (\bgroup\Sstr\egroup)\fi%
  53.              \if\Vtest\present, vol. \bgroup\Volfont\Vstr\egroup\fi%
  54.               \if\Ntest\present, no. \bgroup\Volfont\Nstr\egroup\fi%
  55.                \if\Etest\present, \bgroup\Estr\egroup\unskip, \ifnum\Ecnt>1Eds.\else Ed.\fi\def\Comma{\hskip1em}\fi%
  56.                 \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{: }\fi%
  57.                  \if\Itest\present\Comma\bgroup\Istr\egroup\def\Comma{, }\fi%
  58.                   \if\Ptest\present\Comma{\if\Pcnt\present pp.~\else p.~\fi}\Pstr\def\Comma{, }\fi%
  59.                    \if\Dtest\present\Comma\bgroup\Dstr\egroup\def\Comma{, }\fi%
  60.                     \if\ttest\present. ``\bgroup\Titlefont\Tstr\egroup\def\Comma{," }\fi%
  61.                      \if\btest\present\Comma in \bgroup\Tomefont\bstr\egroup\def\Comma{, }\fi%
  62.                       \if\stest\present\ (\bgroup\sstr\egroup)\fi%
  63.                        \if\vtest\present, vol. \bgroup\Volfont\vstr\egroup\fi%
  64.                         \if\ntest\present, no. \bgroup\Volfont\nstr\egroup\fi%
  65.                          \if\atest\present, \bgroup\astr\egroup\unskip, \if\acnt\present Eds.\else Ed.\fi\def\Comma{\hskip1em}\fi%
  66.                          \if\ctest\present\Comma\bgroup\cstr\egroup\def\Comma{: }\fi%
  67.                           \if\itest\present\Comma\bgroup\istr\egroup\def\Comma{, }\fi%
  68.                            \if\ptest\present\Comma{\if\pcnt\present pp.~\else p.~\fi}\pstr\def\Comma{, }\fi%
  69.                             \if\dtest\present\Comma\bgroup\dstr\egroup\def\Comma{, }\fi%
  70.                              \if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
  71.                               \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  72.                                \vskip3ptplus1ptminus1pt}%\smallskip
  73.  
  74. \def\bookformat{\Reffont\let\uchyph=1\parindent=1pc\def\Comma{}%
  75.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  76.                 \par\vfil\penalty-200\vfilneg%\filbreak
  77.       \if\Ftest\present\Flagstyle\Fstr\fi%
  78.        \if\Atest\present{\bgroup\Authfont\Astr\egroup}\def\Comma{\unskip, }%
  79.             \else\if\Etest\present\bgroup\def\Eand{\Aand}\def\Eandd{\Aandd}\Authfont\Estr\egroup\unskip, \ifnum\Ecnt>1Eds.\else Ed.\fi\def\Comma{, }%
  80.                   \else\if\Itest\present\bgroup\Authfont\Istr\egroup\def\Comma{, }\fi\fi\fi%
  81.           \if\Ttest\present\Comma\bgroup\Tomefont\Tstr\egroup\def\Comma{.\hskip1em}%
  82.                 \else\if\Btest\present\Comma\bgroup\Tomefont\Bstr\egroup\def\Comma{.\hskip1em}\fi\fi%
  83.             \if\otest\present\ \bgroup\ostr\egroup\fi%
  84.              \if\etest\present\hskip.16667em(\bgroup\estr\egroup)\fi%
  85.               \if\Stest\present\ (\bgroup\Sstr\egroup)\fi%
  86.                \if\Vtest\present, vol. \bgroup\Volfont\Vstr\egroup\fi%
  87.                 \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
  88.                  \if\Atest\present\if\Itest\present
  89.                          \Comma\bgroup\Istr\egroup\def\Comma{\unskip, }\fi%
  90.                       \else\if\Etest\present\if\Itest\present
  91.                               : \bgroup\Istr\egroup\def\Comma{\unskip, }\fi\fi\fi%
  92.                      \if\Dtest\present\Comma\bgroup\Dstr\egroup\def\Comma{, }\fi%
  93.                       \if\ttest\present. \bgroup\Tomefont\tstr\egroup\def\Comma{.\hskip1em}%
  94.                             \else\if\btest\present. \bgroup\Tomefont\bstr\egroup\def\Comma{.\hskip1em}\fi\fi%
  95.                          \if\stest\present\ (\bgroup\sstr\egroup\)\fi%
  96.                           \if\vtest\present, vol. \bgroup\Volfont\vstr\egroup\fi%
  97.                            \if\ctest\present\Comma\bgroup\cstr\egroup\def\Comma{: }\fi%
  98.                             \if\itest\present\Comma\bgroup\istr\egroup\def\Comma{, }\fi%
  99.                              \if\dtest\present\Comma\bgroup\dstr\egroup\def\Comma{, }\fi%
  100.                               \if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
  101.                                \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  102.                                 \vskip3ptplus1ptminus1pt}%\smallskip
  103.  
  104. \def\technicalreportformat{\Reffont\let\uchyph=1\parindent=1pc\def\Comma{}%
  105.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  106.                 \par\vfil\penalty-200\vfilneg%\filbreak
  107.       \if\Ftest\present\Flagstyle\Fstr\fi%
  108.        \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip, }%
  109.             \else\if\Etest\present\bgroup\def\Eand{\Aand}\def\Eandd{\Aandd}\Authfont\Estr\egroup{\unskip, }\ifnum\Ecnt>1Eds.\else Ed.\fi\def\Comma{, }%
  110.                   \else\if\Itest\present\bgroup\Authfont\Istr\egroup\def\Comma{, }\fi\fi\fi%
  111.           \if\Ttest\present\Comma``\bgroup\Titlefont\Tstr\egroup\def\Comma{," }\fi%
  112.            \if\Atest\present\if\Itest\present
  113.                    \Comma\bgroup\Istr\egroup\def\Comma{, }\fi%
  114.                 \else\if\Etest\present\if\Itest\present
  115.                         \Comma\bgroup\Istr\egroup\def\Comma{, }\fi\fi\fi%
  116.             \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
  117.              \if\Rtest\present\Comma\bgroup\Rstr\egroup\def\Comma{, }\fi%
  118.               \if\Dtest\present\Comma\bgroup\Dstr\egroup\def\Comma{, }\fi%
  119.                \if\ttest\present. ``\bgroup\Titlefont\tstr\egroup\def\Comma{," }\fi%
  120.                 \if\itest\present\Comma\bgroup\istr\egroup\def\Comma{, }\fi%
  121.                  \if\ctest\present\Comma\bgroup\cstr\egroup\def\Comma{, }\fi%
  122.                   \if\rtest\present\bgroup\rstr\egroup\def\Comma{, }\fi%
  123.                    \if\dtest\present\Comma\bgroup\dstr\egroup\def\Comma{, }\fi%
  124.                     \if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
  125.                      \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  126.                       \vskip3ptplus1ptminus1pt}%\smallskip
  127.  
  128. \def\otherformat{\Reffont\let\uchyph=1\parindent=1pc\def\Comma{}%
  129.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  130.                 \par\vfil\penalty-200\vfilneg%\filbreak
  131.       \if\Ftest\present\Flagstyle\Fstr\fi%
  132.        \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip, }%
  133.             \else\if\Etest\present\def\Eand{\Aand}\def\Eandd{\Aandd}\bgroup\Authfont\Estr\egroup{\unskip, }\ifnum\Ecnt>1Eds.\else Ed.\fi\def\Comma{, }%
  134.                   \else\if\Itest\present\bgroup\authfont\Istr\egroup\def\Comma{, }\fi\fi\fi%
  135.           \if\Ttest\present\Comma\bgroup\Titlefont\Tstr\egroup\def\Comma{, }\fi%
  136.             \if\Atest\present\if\Itest\present
  137.                     \Comma\bgroup\Istr\egroup\def\Comma{, }\fi%
  138.                  \else\if\Etest\present\if\Itest\present
  139.                          \Comma\bgroup\Istr\egroup\def\Comma{, }\fi\fi\fi%
  140.                  \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
  141.                   \if\Dtest\present\Comma\bgroup\Dstr\egroup\def\Comma{, }\fi%
  142.                    \if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
  143.                     \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  144.                      \vskip3ptplus1ptminus1pt}%\smallskip
  145.